import request from '@/utils/request'

//列表
export function ssplist_list(params) {
    return request({
        url: '/v1/ssplist/list',
        method: 'get',
        params
    })
}
//详情
export function ssplist_info() {
    return request({
        url: '/v1/ssplist/info',
        method: 'get'
    })
}
//添加
export function ssplist_add(data) {
    return request({
        url: '/v1/ssplist/add',
        method: 'post',
        data
    })
}
//修改
export function ssplist_edit(data) {
    return request({
        url: '/v1/ssplist/edit',
        method: 'post',
        data
    })
}
//状态变更
export function ssplist_upflag(params) {
    return request({
        url: '/v1/ssplist/flag',
        method: 'get',
        params
    })
}
//删除
export function ssplist_stats(params) {
    return request({
        url: '/v1/ssplist/stats',
        method: 'get',
        params
    })
}
//所有
export function ssplist_all(params) {
    return request({
        url: '/v1/ssplist/all',
        method: 'get',
        params
    })
}
//所有模版
export function ssplist_temp(params) {
    return request({
        url: '/v1/ssptemplate/all',
        method: 'get',
        params
    })
}
